import { network } from '@/utils';
import { OrderInfoParams } from './data';

import { basic } from '../../../../../../config/Apis';

export async function queryPartitionList(params: { id: number }) {
  return network.get(basic.shelf_cell_list, {
    params,
  });
}

export async function queryStatusList() {
  return network.get(basic.shelf_orderStatusList);
}

export async function queryOrderList(params: OrderInfoParams) {
  return network.get(basic.order_list, { params });
}
